package C11_7_ExtractSuperclass.refactorbefore;

/**
 * @ClassName : Employee
 * @Description : 提炼超类
 * @Author : wukj1
 * @Date: 2022/8/15
 **/
public class Employee{

    private String name;
    private int annualCost;
    private String id;

    public Employee(String name, int annualCost, String id) {
        this.name = name;
        this.annualCost = annualCost;
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public int getAnnualCost() {
        return annualCost;
    }

    public String getId() {
        return id;
    }
}
